package com.atmilan.quartz.model.entity.crmeb;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 吉客云商品编码比对表
 * @Description: 
 * @author daigb
 * @date 2021-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_jky_contrast")
public class JkyContrast extends Model<JkyContrast> {
    private static final long serialVersionUID = 1L;

    @JsonProperty(value = "id")
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    
    @JsonProperty(value = "goods_no")
    private String goodsNo;
    
    @JsonProperty(value = "goods_name")
    private String goodsName;
    
    @JsonProperty(value = "season_code")
    private String seasonCode;
    
    @JsonProperty(value = "suk")
    private String suk;
    
    @JsonProperty(value = "sku_no")
    private String skuNo;
    
    @JsonProperty(value = "stock")
    private Integer stock;
    
    @JsonProperty(value = "ot_price")
    private BigDecimal otPrice;
    
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private Date updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
